
<div class='weui-flex bc-list no-init' id='maintain-station-list' data-port='http://api.hongyanche.com/maintain/station_list'>
	<input class='hidden' name='lngitude' id='station-lngitude'/>
	<input class='hidden' name='latitude' id='station-latitude'/>
	<div class="container">
		<div class='weui-flex__item' style="flex: 1">
			<div class='page__bd'>
				<div class='weui-cells__title'>选择修理厂</div>
				<div class="weui-cells bc-list-template weui-cells_checkbox" id='vehicle-checkboxes'>
					<a onclick='$(".station-selected").removeClass("station-selected");$(this).addClass("station-selected")' href="#maintain_input" class="weui-media-box weui-media-box_appmsg weui-cell_access">
						<div class="weui-media-box__hd">
							<img class="weui-media-box__thumb" src="http://api.hongyanche.com/_hongyanche/material/logo.jpg" alt="">
						</div>
						<div class="weui-media-box__bd">
							<h4 class="weui-media-box__title"><ci_name list=1></ci_name></h4>
							<p class="weui-media-box__desc">
								<ci_province></ci_province list=1> <ci_city list=1></ci_city> <ci_area list=1></ci_area><br/>
								距离 <distance list=1></distance>km
							</p>
						</div>
						<div class='weui-cell__ft'></div>
					</a>
				</div>
			</div>
		</div>
	</div>
</div>
<script type="text/javascript">


    var geolocation = new qq.maps.Geolocation("OB4BZ-D4W3U-B7VVO-4PJWW-6TKDJ-WPB77", "myapp");
    geolocation.getLocation(showPosition, showErr);

    function showPosition(result) {
        $('#station-lngitude').val(result.lng)
        $('#station-latitude').val(result.lat)
        LIST.reload("#maintain-station-list");
    };
    function showErr(err) {
        console.log(err)
    };
</script>